<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>Sign in</title>
    <!--css&ico-->
    <link rel="stylesheet" type="text/css" href="/css/login.css"/>
    <link rel="stylesheet" type="text/css" href="/css/iconfont.css"/>
    <!--layui-->
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css">
    <!--jquery-->
    <script src="/jquery/jquery-3.2.1.min.js"></script>
</head>
<body style="background-color: black">
<div id="login-box">
    <h1>
        Login
        <i id="help" class="layui-icon">&#xe60b;</i>
    </h1>
    <form method="post" class="layui-form" action="/login">
        <div class="input-box">
            <i class="iconfont">&#xe609;</i>
            <input type="text" placeholder="account" id="account" name="account"/>
        </div>
        <div style="margin-bottom: 10px" class="input-box">
            <i class="iconfont">&#xe605;</i>
            <input type="password" placeholder="password" id="password" name="password"/>
        </div>
        <div style="margin-top: 15px">
            <a href="javascript:void(0);" title="点击更换验证码">
                <img id="imgVerify" src="" alt="更换验证码" onclick="getVerify(this);">
            </a>
        </div>
        <div class="input-box">
            <i class="layui-icon layui-icon-vercode"></i>
            <input type="text" autocomplete="off" placeholder="请输入验证码" id="verification" />
        </div>
        <button style="display: none" type="submit" id="signin" lay-submit lay-filter="login">Sign in</button>
        <button type="button" id="sub">Sign in</button>
    </form>
</div>
</body>
<script>
    //跳出子窗口
    if(window!=top)top.location.href=location.href;
    function getVerify(obj){
        obj.src = "/login/getVerify?"+Math.random();
    }
    $('#imgVerify').attr("src","/login/getVerify");
</script>
<!--获取ip及地址-->
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script src="/js/login/login.js"></script>
</html>